<html>
<head>
    <!-- css block -->
    <link rel="stylesheet" href="/css/style.css" type="text/css">
    <link rel="stylesheet" href="/css/fancybox/style.css" type="text/css">
    <link rel="stylesheet" type="text/css" href="/css/jquery.css" media="screen">
    <link rel="stylesheet" type="text/css" href="/css/skin.css" media="screen">
    <!-- css block end -->

    <!-- js block -->
    <script type="text/javascript" src="/js/jquery-1.4.3.min.js"></script>
    <script type="text/javascript" src="/js/fancybox/jquery.fancybox-1.3.4.pack.js"></script>
    <link rel="stylesheet" href="/css/fancybox/jquery.fancybox-1.3.4.css" type="text/css">
    <script>
        $().ready(function() {
            $("a.iframe").fancybox({
                'width'             : '50%',
                'height'            : '60%',
                'autoScale'         : false,
                'transitionIn'      : 'none',
                'transitionOut'     : 'none',
                'type'              : 'iframe'
            });
        });
    </script>
    <!-- js block end -->
</head>

<body>
    <div id="globaldiv">
        <div id="cherdak"></div>

        <?if($authData = $this->IsAuth()) {?>
            <div id="panel">
                <section id="secondary_bar">
                        <div class="breadcrumbs_container">
                            <article class="breadcrumbs">
                                <a href="<?=$this->url(array('controller'=>'auth', 'action'=>'logout'))?>">Выйти</a>
                            </article>
                            <article class="breadcrumbs">
                                <a href="<?=$this->url(array('module'=>'admin'))?>">В админку</a>
                            </article>
                        </div>
                </section>
            </div>
        <? } ?>


            <div id="divbody">
                <div id="fixeddivbody">
                <div id="bl-cap0"></div>
                <!-- header -->
                <div id="bl-cap">
                    <table id="tbl-cap">
                        <tbody>
                            <tr>
                                <td id="tbl-cap-td1" valign="middle">
                                    <div class="tbl-cap-td1-padding">
                                           <a style="text-decoration:none" href="http://site/"><div id="caption" style="color:#000000 !important">Быстрые CMS</div></a>
                                           <a style="text-decoration:none" href="http://site/"><div id="slogan" style="color:#ffffff !important">Видеорегистраторы. Бесплатная доставка</div></a>
                                    </div>
                                </td>

                                <td id="tbl-cap-td2" align="right" valign="middle">
                                    <div class="tbl-cap-td2-padding">
                                        <a style="text-decoration:none" class="iframe" href="http://site/index.php?com=order_call&amp;tmpl=simple"><div class="text2" style="color:#363636 !important">Понравилось? Звоните</div>
                                        <div class="bl-phone">
                                            <span class="phone-code" style="color:#e02d2d !important">8 495 </span>
                                            <span class="phone-num" style="color:#fff !important">111 11 11</span>
                                        </div>
                                        <div class="text2" style="color:#363636 !important">пн-вс с 9:00 до 18:00</div></a>
                                        <a href="http://site/index.php?com=order_call&amp;tmpl=simple" class="iframe"><div class="btn-order_call"></div></a>
                                    </div>
                                </td>
                            </tr>
                        </tbody>
                    </table>
                </div>
                <!-- header end -->

                <!-- меню старт -->
                <?=$this->menuGenerator() ?>
                <!-- меню конец -->
                <div style="clear:both"></div>



                <div id="bl-actions2" style="background:#292929 !important">
                    <?php echo $this->layout()->content ?>
                </div>

                <table class="tbl-body4">
                <tbody>
                    <tr>
                    <td class="tbl-body4-td1" style="background:#fff !important" valign="top">
                        <div class="tbl-body4-padding">
                            <?php echo $this->layout()->content ?>
            <!--    <div id="bl-catalog">
                <div id="bl-catalog-title"><a href="http://site/index.php?com=autoshop#mcom" class="a-cat">Каталог:</a></div>
                <div class="prod81">
                    <a class="lprod" href="http://site/index.php?com=autoshop&amp;catId=49#mcom"> Телефоны</a>
                </div>
                </div>-->
                <!--Код перед Популярным товаром-->

                <!--Популярный товар-->
                <!--новинки-->

<!--                <div id="bl-catalog">
                    <div id="bl-catalog-title">Каталог:</div>
                    <div id="bl-catalog-padding">
                        <a class="lprod" href="http://site/index.php?com=autoshop&amp;catId=49#mcom"> Телефоны</a>
                    </div>
                </div>
-->                                        <!--Код в конце страницы-->
                    <div id="mcom" name="mcom">
        <table>
            <tbody>
            <tr>
                <td valign="top">
                </td>
                <td valign="top">
                <div class="cont_title2"></div>
                <div class="clear-both"></div>
            </td>
            </tr></tbody>
            </table>
            </div>
        </div>
        </td><td class="tbl-body4-td2" style="background:#fff !important" valign="top">
        <!--Код перед отзывами-->


       <!-- отзывы -->
        <div class="tbl-body4-padding2" style="background:#fff !important">
            <div class="text44">Отзывы клиентов</div>
                <?=$this->showReviews()?>
            <div>
                <a href="<?=$this->url(array('controller'=>'reviews', 'action'=>'add'))?>" class="b-add-ot iframe">Оставить отзыв</a>
            </div>
        </div>

                                    <!--Код после отзывов-->
                        <div style="height:40px"></div>
                    </td>

                </tr>
                </tbody></table>
            </div><!-- fixeddivbody -->
        </div><!-- divbody -->
    </div><!-- globaldiv -->

    <!-- footer -->
    <div id="footer" style="background-color: #e7e7e7">
        <div id="fixedfooter" style="background:#292929 !important">

            <div id="bl0-phone">
                <div class="bl-phone">
                    <span class="phone-code" style="color:#d42f2f !important">8 495 </span>
                    <span class="phone-num3" style="color:#ffffff !important">111 11 11</span>
                </div>
            </div>

            <div id="bl-btn-order_call">
                <a style="text-decoration:none" class="iframe" href="http://site/index.php?com=order_call&amp;tmpl=simple#mcom"><div class="btn-order_call"></div></a>
            </div>
               <div class="f-text" style="position: absolute;top:38px;left:25px" onclick="location.href='/'"><span style="color:#ffffff !important">Быстрые CMS</span></div>


       <div class="b-blag">
          <div class="b-blag-inner">


          </div>
       </div>

            <div id="bl-copy" style="color:#fff !important">
                        </div>

        </div><!-- fixedfooter -->
    </div>
    <!-- footer -->
    </div>
</div>
</body>
</html>
